/**
 * Copyright &copy; 2012-2014 <a href="https://github.cn.apestar">JeeSite</a> All rights reserved.
 */
package cn.apestar.modules.sys.entity;

import cn.apestar.common.persistence.DataEntity;

/**
 * 人员和机构关系Entity
 *
 * @author LVH
 * @version 2016-03-25
 */
public class UserAndInstituion extends DataEntity<UserAndInstituion> {

    private static final long serialVersionUID = 1L;

    private Long cmInstitutionId; // 机构表_id

    private String cmInstitutionIds; // 机构表_id

    private User user; // 用户_id

    private String userType; // 用户_id

    private String state; // 状态/ 1 等待审核 2 审核通过 3 审核不通过

    private String roleType; // role_type

    private String userId;

    private Boolean invite = false;

    public String getCmInstitutionIds() {

        return cmInstitutionIds;
    }

    public void setCmInstitutionIds(String cmInstitutionIds) {

        this.cmInstitutionIds = cmInstitutionIds;
    }

    public Boolean isInvite() {

        return invite;
    }

    public void setInvite(Boolean invite) {

        this.invite = invite;
    }

    public String getUserId() {

        return userId;
    }

    public void setUserId(String userId) {

        this.userId = userId;
    }

    public UserAndInstituion() {
        super();
    }

    public UserAndInstituion(String id) {
        super(id);
    }

    public Long getCmInstitutionId() {

        return cmInstitutionId;
    }

    public void setCmInstitutionId(Long cmInstitutionId) {

        this.cmInstitutionId = cmInstitutionId;
    }

    public User getUser() {

        return user;
    }

    public void setUser(User user) {

        this.user = user;
    }

    public String getUserType() {

        return userType;
    }

    public void setUserType(String userType) {

        this.userType = userType;
    }

    public String getState() {

        return state;
    }

    public void setState(String state) {

        this.state = state;
    }

    public String getRoleType() {

        return roleType;
    }

    public void setRoleType(String roleType) {

        this.roleType = roleType;
    }

}